package com.ctshk.rpc.visa.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.exception.BusinessException;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.visa.dto.visa.VisaOrderCollectionDTO;
import com.ctshk.rpc.visa.req.visa.VisaOrdercollectionConfirmationReq;
import com.ctshk.rpc.visa.req.visa.VisaOrdercollectionReq;

import java.util.List;

/**
 * <p>
 * 收款明细 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-28
 */
public interface IVisaOrderCollectionService {
    /**
     * 收款明细新增
     * @param visaOrdercollectionReq
     * @return
     */
    Long add(VisaOrdercollectionReq visaOrdercollectionReq, TokenUser user) throws BusinessException;

    /**
     * 收款记录
     * @param visaOrdercollectionReq
     * @return
     */
    Result<List<VisaOrderCollectionDTO>> list(VisaOrdercollectionReq visaOrdercollectionReq);

    /**
     * 再次确认
     * @param
     * @return
     */
    Result<Long> confirmation(VisaOrdercollectionConfirmationReq confirmationReq,TokenUser user);
}
